package org.vector.boot3x.v34.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

/**
 * 3.4.0
 */
@RestController
@RequestMapping("/v3p4")
public class Version3p4Controller {

    @RequestMapping("/t1")
    public String t1(){
        return "t1";
    }

    @RequestMapping("/t2")
    public Map<String,String> t2(){
        Map<String,String> data = new HashMap<>(7);
        data.put("name", "张三丰");
        return data;
    }


}
